package client;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import java.awt.Font;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JTextField;


public class BkManagerWorkGUI extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					BkManagerWorkGUI frame = new BkManagerWorkGUI();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public BkManagerWorkGUI() {
		setTitle("\u4EBA\u4E8B\u7BA1\u7406");
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JButton button = new JButton("\u5728\u804C\u5458\u5DE5\u7BA1\u7406");
		button.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				BkCheckStaffGUI frame = new BkCheckStaffGUI();
				frame.setLocationRelativeTo(null);
				frame.setVisible(true);
				BkManagerWorkGUI.this.dispose();
			}
		});
		button.setFont(new Font("微软雅黑", Font.PLAIN, 15));
		button.setBounds(130, 58, 148, 67);
		contentPane.add(button);
		
		JButton button_1 = new JButton("\u67E5\u770B\u5E94\u8058\u4EBA\u5458");
		button_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				BkCheckWanterGUI frame = new BkCheckWanterGUI();
				frame.setLocationRelativeTo(null);
				frame.setVisible(true);
				BkManagerWorkGUI.this.dispose();
			}
		});
		button_1.setFont(new Font("微软雅黑", Font.PLAIN, 15));
		button_1.setBounds(130, 152, 148, 43);
		contentPane.add(button_1);
		
		JButton button_2 = new JButton("\u8FD4\u56DE");
		button_2.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				BkStaffLoginGUI frame = new BkStaffLoginGUI();
				frame.setLocationRelativeTo(null);
				frame.setVisible(true);
				dispose();
			}
		});
		button_2.setFont(new Font("΢���ź�", Font.PLAIN, 13));
		button_2.setBounds(341, 10, 83, 22);
		contentPane.add(button_2);

	}
}
